package com.tyk.bookstore.back.comment.model.vo;

import com.tyk.bookstore.back.common.core.model.page.PageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author tyk
 * @description ReplyPageVo
 */
@Data
public class ReplyPageVo extends PageVo<ReplyPageVo.Reply> {

    @Data
    public static class Reply {

        @Schema(description = "ID")
        private Long id;

        @Schema(description = "会员ID")
        private Long memberId;

        @Schema(description = "会员姓名")
        private String memberName;

        @Schema(description = "评论ID")
        private Long commentId;

        @Schema(description = "父级ID")
        private Long parentId;

        @Schema(description = "父级评论")
        private Long parentContent;

        @Schema(description = "回复内容")
        private String content;

        @Schema(description = "回复时间")
        private LocalDateTime createTime;

    }
}
